/**
 * Store 创建数据源(引入createStore)
 * store是redux库中的createStore方法，生成一个对象，这个对象中存储的就是我们的公有数据
 */
// store 依赖reducer,reducer依赖action
import {createStore} from 'redux';
import reducer from './../reducer';
// import {composeWithDevTools} from 'redux-devtools-extension';
export default (prevState) => createStore(reducer,prevState)